2,995 questions with .NET MAUI tags

Sort by: Updated
0 answers

Where has MapIcon gone in Windows MAUI Maps ?

Hi team. I try to migrate a custom renderer for Maps from Xamarin to MAUI. I need to show a custom icon on the Map in Windows platform (found multiple examples how to do that in IOs and Droid) In Xamarin there was a MapIcon class , derived from…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-29T10:42:51.1733333+00:00
Andreas Wegener 0 Reputation points
0 answers

Save xml log file in MAC

Hi, In windows I keep in c drive in MAC where i save my log file? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-29T10:31:16.86+00:00
Dani_S 2,906 Reputation points
1 answer One of the answers was accepted by the question author.

How to disable the font scaling for the Display alert's in Maui - iOS

Hello, Currently I'm disabling the font scaling in iOS by following this. https://learn.microsoft.com/en-us/answers/questions/1661536/how-can-i-prevent-the-device-font-size-effect-of-a Now I want to achieve the same functionality for the display…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-21T13:40:20.09+00:00
Vaibhav Methuku 80 Reputation points
edited a comment 2024-05-29T09:39:56.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
0 answers

Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-06T12:03:23.94+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-05-29T09:36:06.18+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
0 answers

App crashes after throwing an error ' Window was already created'

Platform : Android Version : MAUI 8 Description : I was trying to invoke platform specific code by implementing broadcast Receiver for android, When I tried to register the receiver onResume( ) , app crashed with an error "Window was already…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-29T09:32:36.64+00:00
Manickam, Suraj 260 Reputation points
1 answer

To set an alternate app icon in a .NET MAUI app,Here's how we can achieve this:

Previously, in Xamarin.Forms, we could set alternate app icons by registering multiple icons in the Android manifest and iOS Info.plist files. This allowed us to change the app icon and app name based on an identifier. However, in .NET MAUI, achieving…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,469 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-04-30T05:58:18.6366667+00:00
Lakhan Bairawat 0 Reputation points
commented 2024-05-29T09:31:55.2366667+00:00
Lakhan Bairawat 0 Reputation points
0 answers

Microsoft.Maui.ApplicationModel.FeatureNotSupportedException for PhoneDialer and EmailMessage

I am getting below exception for PhoneDialer and EmailMessage features. Microsoft.Maui.ApplicationModel.FeatureNotSupportedException: Specified method is not supported. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-29T09:18:27.9966667+00:00
Sreejith Sreenivasan 691 Reputation points
0 answers

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 2,906 Reputation points
1 answer

Not seen mac simulator

Hi, I installed vs code, xcode , and open new maui project and run it. It is not running, do i need to config ant simulator , I want mac simulator. Thw error is on missing android simulators & sdk. How is sone? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-28T08:56:44.53+00:00
Dani_S 2,906 Reputation points
edited a comment 2024-05-29T07:36:01.67+00:00
Dani_S 2,906 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,906 Reputation points
commented 2024-05-29T07:26:22.41+00:00
Dani_S 2,906 Reputation points
0 answers

How to fix build errors that I am getting currently when I convert my .NET MAUI [ sdk 6 version] to .NET 8 version?

I am currently in a process of converting my MAUI project which is in .NET 6 version to .NET 8 version. I have used Microsoft's .NET upgrade assistant extension tool for the same. After successful upgrade, when I try to build/rebuild my project, I am…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,469 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,404 questions
asked 2024-05-29T07:24:16.99+00:00
Suhas MR 0 Reputation points
1 answer

How to customise global window closing prompt in a .NET MAUI application

I am working on a .NET MAUI project for desktop, I found a global solution for prompting a user before closing the application here. I would like to know if this can be customised and triggered conditionally when closing. For example: I have an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,404 questions
asked 2024-05-28T08:55:28.29+00:00
Arturs Pramalts 0 Reputation points
answered 2024-05-29T06:26:55.6+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
1 answer

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,404 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 206 Reputation points
commented 2024-05-29T05:29:43.16+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
1 answer

How to create event for subclassed control

I use GestureRecognizers with Label in lots of places in an app and would like to create a new Label control that basically uses Label as the base and adds a TapGestureRecognizer that invokes an event that can be defined in XAML. I know how to subclass…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,404 questions
asked 2024-05-28T15:05:06.46+00:00
Lloyd Sheen 1,391 Reputation points
answered 2024-05-29T05:10:46.8066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
0 answers

Not able to debug mobile application in .net maui

If debugger is not applying then application works fine but when i am applying debugger application getting crashed in .net maui for android platform. How to solve this issue?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-28T15:49:10.0166667+00:00
Thombre, Ashish 105 Reputation points
commented 2024-05-29T03:26:06.16+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
1 answer

can pushModalAsync in .net android?

not maui just .net android. how touse PushModalAsync I am not want to use this PushModalAsync I just want to push Modal Dialog how to Create Modal Dialog?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-28T08:26:34.33+00:00
mc 3,746 Reputation points
edited an answer 2024-05-29T03:16:12.71+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
2 answers

Maui controls handlers learning

Hello All. I'm trying to learn how to customize android control. I know the concept of the customizing but my difficult is where I can find learning stuff of the android side what I mean is in the example below where I can find the section that start…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-23T10:16:10.72+00:00
Haviv Elbsz 1,966 Reputation points
answered 2024-05-29T02:58:49.36+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
1 answer

Prevent the white flash when navigating between Maui Blazor Hybrid views

I have a .NET 8 MAUI app that has a dark background (not only in dark mode). We require users to log or pin in to use the app and the login/pin entry page has a dark background and these pages are straight xaml pages. On success, we navigate them to the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,427 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-23T15:36:00.33+00:00
Joshua Engelbrecht 0 Reputation points
commented 2024-05-29T02:24:57.3766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

.Net Maui, ability to access external sd card

With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
commented 2024-05-29T01:33:33.2033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
1 answer

MAUI: What is the difference between GoToAsync() and PushAsync() to navigate between pages?

What is the difference exactly between using await Shell.Current.GoToAsync Route Relative/GoBack with (..) Single instance?? await Shell.Current.Navigation.PushAsync(Use NavigationPage) - similar to prism or Xamarin Forms…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,995 questions
asked 2024-05-26T10:02:39.0233333+00:00
honggyu kim 0 Reputation points
commented 2024-05-29T00:56:17.19+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor